﻿using TripleA.Core.Extensions.FileSystem;
using TripleA.Core.Interfaces.Entities;
using TripleA.StoryQ;

namespace TripleA.Tests.FileSystem
{
    public class FileSystemDomain : StoryQTestDomain<Context>
    {
        public void TheCleanFolderStepIsUsed(string target)
        {
            TripleA.CleanFolder(target);
        }

        public void TheCloneFolderStepIsUsed(string source, string dest)
        {
            TripleA.CloneFolderContent(source, dest);
        }

        public void TheFolderIsEmptyStepIsUsed(string target)
        {
            TripleA.IsFolderEmpty(target);
        }

        public void TheFolder_ShouldContainFile_(string folder, string filename)
        {
            TripleA.FolderContainsFile(folder, filename);
        }

        public void TheFolder_ShouldNotContainFile_(string folder, string filename)
        {
            TripleA.FolderDoesNotContainFile(folder, filename);
        }
    }
}